/*
* Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/


PRJ_PLATFORMS
WINSCW ARMV5

PRJ_MMPFILES
HelloWorld.mmp

PRJ_EXTENSIONS

// release packaging
START EXTENSION utility.createsis
#ifdef WINSCW
OPTION PKG_FILE sis/winscw_urel.pkg
OPTION SIS_FILE sis/helloworld_winscw.sisx
#else
OPTION PKG_FILE sis/armv5_urel.pkg
OPTION SIS_FILE sis/helloworld_armv5.sisx
#endif
OPTION TARGET_FILE helloworld.exe
OPTION BUILD_TYPE urel
OPTION CERTIFICATE_FILE sis/sign.cer
OPTION PRIVATE_KEY_FILE sis/sign.key
OPTION PRIVATE_KEY_PASSPHRASE velociraptor123
OPTION SIGNSIS_ARGS -cd // Sign using RSA
OPTION DEPEND_FILES epoc32/data/z/resource/apps/HelloWorld.rsc epoc32/data/z/resource/apps/helloworld.mbm
END

// debug packaging
START EXTENSION utility.createsis
#ifdef WINSCW
OPTION PKG_FILE sis/winscw_udeb.pkg
OPTION SIS_FILE sis/helloworld_winscw_debug.sis
#else
OPTION PKG_FILE sis/armv5_udeb.pkg
OPTION SIS_FILE sis/helloworld_armv5_debug.sis
#endif
OPTION TARGET_FILE helloworld.exe
OPTION BUILD_TYPE udeb
OPTION MAKESIS_ARGS -v
OPTION DEPEND_FILES epoc32/data/z/resource/apps/HelloWorld.rsc epoc32/data/z/resource/apps/helloworld.mbm
END

// stub .sis file
START EXTENSION utility.createsis
OPTION PKG_FILE sis/stub.pkg
OPTION SIS_FILE helloworld_stub.sis
OPTION BUILD_TYPE urel
OPTION STUB_SIS true
END

